package com.wu.store.service;

import com.wu.store.entity.Category;

import java.util.List;

public interface CategoryService {
	List<Category> getCategories(String keyword);

	boolean isNameValid(Category category) throws Exception;

	Long save(Category category);

	boolean deleteCategoryById(Integer id) throws Exception;
}
